import request from '@/utils/request'

// 判断手牌
export function check(data) {
  return request({
    url: '/project/ljw/bingpai',
    method: 'put',
    data: data
  })
}

// 并牌
export function bingpai(data) {
  return request({
    url: '/project/ljw/bingpai/bing',
    method: 'put',
    data: data
  })
}

// 取并
export function qubing(data) {
  return request({
    url: '/project/ljw/qubing',
    method: 'put',
    data: data
  })
}

// 获取并牌信息
export function listBingpai(query) {
  return request({
    url: '/project/ljw/qubing/list',
    method: 'get',
    params: query
  })
}
